import request from '@/utils/request'


export function queryStationSummaryList(query) {
    return request({
        url: '/nhpStationSummary/queryByPage',
        method: 'get',
        params: query
    })
}


export function queryStationSummary(query) {
    return request({
        url: '/nhpStationSummary/queryStationSummary',
        method: 'get',
        params: query
    })
}

// 获取 站点健康度详情-健康度评分趋势

export function getHealthScoreTrend(query) {
    return request({
        // url: 'http://127.0.0.1:4523/m1/4161997-0-default/getHealthScoreTrend',
        url: '/nhpStationSummary/getHealthScoreTrend',
        method: 'get',
        params: query
    })
}

export function queryStationOverview() {
    return request({
        url: '/nhpStationSummary/queryStationOverview',
        method: 'get'
    })
}
